<div id="side">
  <h1 id="logo"><?php echo link_to(image_tag('logo.png','class="no-border"'),'@homepage'); ?></h1>
  <br /><br />
  <ul id="nav">
    <li>
      <?php echo link_to('Search Tutor','@homepage') ?>
    </li><br />
    <li>
      <?php if($sf_user->isAuthenticated()): ?>
        <?php echo link_to('Logout','@sf_guard_signout') ?>
      <?php else: ?>
        <?php echo link_to('Login','@sf_guard_signin') ?>
      <?php endif; ?>
    </li>
    <?php if($sf_user->isAuthenticated() && $sf_user->hasGroup('tutor')): ?>
      <li><?php echo link_to('Profile','@viewuser'); ?></li>
    <?php else: ?>
      <li><?php echo link_to('Register','@register'); ?></li>
    <?php endif; ?>
    <li><?php echo link_to('FAQ','@underconstruction'); ?></li>
    <li><?php echo link_to('About Us','@underconstruction'); ?></li>
  </ul>
  <br />
</div>
<?php echo javascript_tag( nifty_round_elements("ul#nav li") ) ?>